dotConnect for FreshBooks Documentation
Devart.Data Namespace / SqlShimParameterCollection<T> Class / Add Method / Add(String,DbType,Int32,String) Method
The name of the parameter.
One of the System.Data.DbType values.
The maximum size, in bytes, of the data the parameter can contain.
The name of the source column.

In This Topic
    Add(String,DbType,Int32,String) Method
    In This Topic
    Adds a SqlShimParameter to the SqlShimParameterCollection<T> given the the parameter name, data type, data size, and source column name. For internal use.
    Syntax
    'Declaration
     
    Public Overloads Function Add( _
       ByVal parameterName As String, _
       ByVal dbType As DbType, _
       ByVal size As Integer, _
       ByVal sourceColumn As String _
    ) As T
    public T Add( 
       string parameterName,
       DbType dbType,
       int size,
       string sourceColumn
    )

    Parameters

    parameterName
    The name of the parameter.
    dbType
    One of the System.Data.DbType values.
    size
    The maximum size, in bytes, of the data the parameter can contain.
    sourceColumn
    The name of the source column.

    Return Value

    See Also